took out send receives, general cleanup