flags not used in stub