Removed warning of unused variables