some more helper work