type max min and ready for string