add first url and view functions