Header for function was incorrect