mainly debug testing stuff