sd card thing modified to write thing in a loop indefinetly