removed db statement from sca.py