got function calls working