add input to the 8ball func