refactored sending stuff
rough layout almost done