Plot digit is now a fucntion