pristavka method added and index extended