changed power
added LCM