added code for sentry type enemies