moved linux system calls away from here