Made serial IO more friendly