deleted uneccessary code