fixed up the code, had some mistyped info