some helpful routines for initialization