New custom function in Question model