Working towards an efficient solution.