added status query