assert method used instead print