minor changes - passing multiple variables