add get stay points function