SCRATCH OFF AND INPUT CODE BELOW