required changes for input element