started adding live preview of input