added class for enemy detection