added some utilitarian methods