move private method to the end of the file