move stuff to erasuerl.cpp