removed warning for unused var