several applications related to the monkey theorem