adding formatting and text entry limits