revised util functions
Merge branch 'master' of https://github.com/stuycs-softdev/proj1-6