adding utility method