tried adding map attack source code