Deleted unneccessary code

Deleted legacy code from previous implementation attempt