version with working Pass management functionaity