added and fixed swtich statment for explosion direciton