Basic function on EQS.py - COMPLETED