Thanks to Swash for excellent help!