serial implemented

quite inefficient.. still thinking of a way