The complexity and variety of organic molecules is due to