add initialize method and some Log.d