Working on the alternate scanning method