Before change things to classes.