added dropdown for referenced fields