more work on image building