make things a bit more functional, add allgrants example