almost the finished app