finished instructions and fixed bugs