trying to debug some things. Macros might be  broken