for Generic Controller