Adding solutions to the correct branch