changed a method name to match its functionality better