add enemy and comman functions