added hoiio functionality