modified call statement, still needs work