Scratch code from class