added essential enemy code