commit to classes