programmatically fill in inputs