So much for copying old code ..lets try this again