changed args and fixed some spelling errors