work on lua framework