the code deals with lines starting with '-'