Removed use of syscall lib