Corrected undefined reference