added solution for S2 2010