added Sample controller