parsing slightly altered