added some common view helper