corrected type annotations on parameters