add support for "last"