adding setting in view