added default class option