editted push_to_line