added missing util methods and constants