gift code controller work in progress