default class attribute is added in case of it absense