Call to external functions still buggy