single threading working with new design