restructure the gree