Editing bugging

Type of input and missing changing function name