plane generator and other stuff