fixed missing definitions