allow string params for mg functions