get rid of get-cont and get-arg helper funcs