parsing stuff from a few days ago
slight refactor, started on edit box