added API for mirrors
implemented getAllRaw...