Standardize and use functions