dynamic enum call static