removed floating defn that was messing things up