changes to fit syncronous code