implement the basic serial worker