Update proccess.java

Optimized