dynamically assigning properties from user provided arguments