adding code for reading process list