Changed Parameters to Object