i finally found this is relatively simple, posted in your previous thread as it was better to use your basic code