completed view implementation