Saute onion and garlic clove in oil until onion is soft. Crush garlic. Add green pepper and spices. Saute another 2 or 3 minutes. Add tomatoes and corn if you have it. Mash 2 cups of the beans and add to pot along with whole beans and salt and oregano. Simmer 30 minutes.