removed an extraneous "type" in the code...