moved defines to programming guide