Scarlet's code was messed up