added some defines