Added epilog functionality, need to make epilogs for all levels.