Additional logic and finishing touches.