Removed assert statements