fixing missing definitons
fixing missing definitons