Format source (dont slap me, please)