change print 'error' to pass