add a utility function