added points helpers and points to views.