Was just about to implement this myself. Works as expected. Thanks

Was just about to implement this myself. Works as expected. Thanks