removed unused variable to removed compilation warning