cahnged the os system calls without testing