Removed PHP code - will shift to Java