Added param pass functionality
merged