power:add tick function