adding class singleton