Fixing Tape class implementation