trying to add Input listener