Removed unnecessary temp var