Add old solution for 1002