working on a possible solution for the grand finale