add methods for message length and update readme