adding more utility functions --kazu