We prove that the number of legendrian rational cubics in CP 3 through three generic points and a line is three; also we classify all legendrian curves on a quadric surface. Several computations are additionally verified using Macaulay2 computer algebra system.