background source code