added input controls