removal of unused var