implement raw hs functions
update callbacks example