refactored View
added empty stubs