Got rid of error with power & got bases for power mod