Deleted extra unnecessary code