https://krazete.github.io/sgmcard