changed some debooging