Powers logic implemented