finishing up making utils functions conform to correct syntax