merging solution for long loading times pages