parses prices