Add randomly linked trap functions