use DERIVE instead of COUNTER for accepted datatype