simplified the invite method

simplified invite