Added history with first effect