base for serial solver