added more function declarations