Working on the pointer casting