accept array as field type (wrap it into enum function)