change examination as an api with all static methods