working on tranfer mode