before chaining controllers