python version works better https://app.edublocks.org/project/S95dIsbJS6NYuWlgLHFGFZ1WInr2/7tklVQy1xKDOgX0rutJR