Function declaration fixed