posSource and posTarget variables commented out