this not available within a function