it is possible to enter source or target or both.