change powerpill logic