basic functions added and compiled