worked more on documentation, added output for debugging