adding subjects to the db working