creating visualElement/InputElement