how to declare a fuction in lib and use it.?