add missing variables