first version adaptation node in python