adding Serial input too