added busywait function to item