Thanks @sukima!
Your advice was very useful.