stil working on controle loop have had a strange crash