if statement to check if licks is larger than study