whole application done, just one error I still have to figure out