makes necessary changes

First attempt