Changes done for assert

Changes done for assert