Parsing in plugin until I work out how it could work extracted