• Thanks for trying to help. For some reason without making any changes, it started working. So that code is fine.