using controller