add two local and on-line class