changed some spelling around to make the program compile
added functionality for the SD card