valueForParameter method added to retrieve values