My earlier attempts