Implem debug

Works...