expand controller scope and using inheritance