clean up code that wasn't needed or used