It sorta works! Refactoring needed though and there's a bug with textParser