added input<> methods and specializations of it