added debug shell