fixing a few errors adding docs