back to working verision of refer friend, but only for developemnt