addeed few asserts for sanity check