Inline utility function unneeded elsewhere