added .functions
added .functions