Implement simple version of `background` function