Completed view range function