learning contract socail system