Use function for more flexibility.