modified view to match controller