Implementing the background steps