Working sequence generation