final solve