comment function in model