theads sleeps have been added
Delete feature was refactored