beginPath example