refactored removed mulipar assignment