work with using classes