add function for a3 solution to campaign