apple generator (move to RMR)