added public routines