Small utility method