awt scratch code