Working on onLinks and offLinks methods.