add methods to messages file