implement all basic functions as prototypes
force calculation is not working properly yet