Classes working in naive implementation