solutions added for example and recfun