edited the return stement to match spitfire errors, also edited variable for the same