adding more objects to the new if format