add formatStr to parse function, works with basic format rules