logging on SD works