pass base before class