logger + main test + stuff