getLast works with without numeric parameter
getLast works with a numeric paramater