improving views
adding client code