modify code to pass compile