undid resize functionality, cleaned stuff up