initial draft... only tests images so far