optimized system call and parsing