fixed deferred declaration