changed system(3) to system(2)