added status generation