initial solution for mod2