implemented imagerenderable and made some small modification