un-used variables removed