Should this be done here or in view instantiation?