Add a callback function for when within limits