Deleted uneccessary code