Thanks Glenn but I really want to know how it can be written based on the above situation