Deleted some extra code intellj added