subclass from window