added ajax and pictures