adding message interface class