Some silly c code. Don't judge me.