Fix: implicit declaration of function