lay out basic logic for entry parsing