ticket:4 added assert