added sd card modified sketch