assert() testing added