defining interfaces
adding message interfaces