move private stuff out