Deleted unnecesary code