Updated method

Updated method