Ecency
rewrite