Adding 'return seconds;' in background.cpp
Adding comments