last version with notifications and visits