How to implement them in my program?