added gd2 lib