Created a another utility method.