trying out python code example