Adding util methods