wyr -> equation in one function