trying to make ImageLayer work