fix_redundant_calls.py: first commit very sloppy at this stage