power calculator is now working