removed extra inadvertant and incorrect code