basically done in theory on to debugging