added serial wait