use syscallrecord struct for shorter code
shorten previous syscallrec assignments