added util methods