use new ImagePath class