before custom class for tab bar controller