added utility method