Move stuff to debug