implemented swiping repo