tried some parsing, refactoring