spelled function incorrectly