Change: simplified and documentad grandom function