Deleted unnecessary variables