reindented emperor.c