removed function call at the end