changed to var