Example for compact spaces