added line prototype