added two layers with lower resolution, code clean up