Added code for background