added previous solutions