changed the order of serial