solving #12, adding util file