formatting for parser