protype of invitation codes