replaced Render monad with Image type