I am following similar logic | ScratchStats