Fix line length
Split transfer method in three methods