Moving getAgility() to GeneralFunctions