start working on sgs routines