Added SD functionality maybe