(feat) work on ab.serveImages and helper functions