Added current Dia roation code.