initial commit of aux functions