added some things for debug