add before class