more steps to abstract affiliate id stuff