change view to allow calling without passing data, which will inherit parent context