changed code
added picture centering