fixing error, now can be run