*used alongside* would probably be better as *passed to*