working locally, parsing. also uses linq.js