removed the assert statement, doesn't seem to make any sense