working controller inheritance