Closed and open curves