added source and dest checks