added status flag