put data in local method.