removed dead code, sysos and printStack..
added bbdd example