need to import GPIO in the method