views now write to their own directory
added view example