cleaning up code

removed original function,  that i kept in a comment for reference