Updated to grab the first paramater element