deleted unneccesary imports
simplified lines