Updated example again (mainfile is generated for you).