improvments to the view module