improvements to data sent from views