added: classes and threads