Creating mode and links