Just added a few lines to find value