Changed the name of the function since its functionality changed