adding some basic functions for following tape