end programming database class