Added saving picture method