Fixed syntax (sorry I forgot pascal and hate it)