made the last view work