testing for picture function