FX changed from "case statement" to individual functions