fixed data as function to pass rawvalue as arg