index file for Send function