allow for setting max char length