grant function math