Inserted missing variables