uncomment validate and add dependencies