done parsing and basic drawing