added a couple assertions