moved defmulti to the top