started to write on algorithm section