hooking up events
finished tip calculator