* added assert to get rid of probably unused code