working for single line