I don't see where the created function is actually called.