Moving private method to the top.