finished writing the final function, about to start debugging