Adding previous solutions