Deleted unnecessary codes