move private method to the end