Removed References from function parameters