improve speed (Serial)