use proper assertion