removed hoisting