working on dispatch eval
fixing all compilation errors to run code
fixing compilation errors