checking code progression