being just a little bit more verbose...
added support for foreground mode