not working going to return to earlier code