Changed the 'printf's statements to PRINTF