simplified the invite part