Added general array for handling tasks