tweak view functions