Delete unneccesary code