Updated feedback function to include less than 0 and greater than 100