changed throws to asserts