worked on picture handling