add a functiob to check if it work