removed some unnecessary outputs