modified create_image method signature. removed the need to pass an args object.