added tranfer and removed debug