If you can tell me your entire use case and what you are trying to achieve, I will code it for you. It is very straight forward.