the rat function

a