fixed function declarations