platfor dep calls handled. block avg todo added. helper_functions.py removed