initial code for HDrawable