added states to return of get_inputs()