change tape to assert for test