More function implementation.