added exit message on constructor