xml switch for different recipe objects done