Changed code for picture