added some getter and utility methods