commits basics calss