added buffer to thesolution