added a utility method