polished parser, fixed extend
finished modifying extend
parser test coverage