removed un-used variables