define a simple view