Removed debuging and unused variable