back end now works time to make it pretty