adding util methods