added functionality to have new entity. tried to get new entity whenever button "n" was pressed.