updated tape class