subfunctions

not defined yet