Optimize the contents