cleaned up main_motorboard