added debug print features