removed imager code
added accepted functionality