debugged Entity.java and added to Daemon.java