added two power functions