Rough draft of system calls