completed functions that were left auto-generated.