broken it due to trying to add moving stuff need to change for loop to callback