gallery controller added