moving click power to db.