some work on processing images