some old helper methods - not used