send button functionality

This should work