sadly sleep solved the problem I had a typo. The above code will work properly if you type it in correctly