added Debug and error MSGS