added power calculations
added clock generator