fixed parser to account for multiple assignments