change import directive from methods pkg