added gas check to CALL