removed printing stack to console