Last edit to create function.