trying to prevent task duplication