added nice rest rebuild syntax