rename method to 'commonInit'