correct function-idea