Ibn Ezra's commentaries, and especially some of the longer excursuses, contain numerous contributions to the philosophy of religion. One work in particular that belongs to this province, "Yesod Mora" ("Foundation of Awe"), on the division and the reasons for the Biblical commandments, he wrote in 1158 for a London friend, Joseph ben Jacob. In his philosophical thought neoplatonic ideas prevail; and astrology also had a place in his view of the world. He also wrote various works on mathematical and astronomical subjects.