Hi Takuya. Your code is really cool and helpful! Thanks! I have only one question - how to define the physical entities? Mikhail