added stock input controls