RESULT NULL in get last func gave compiler warning, removed RESULT_NULL