Add scratch functional