extend lua framework