finished making the view and bug checking