removing empty lines
Adding JavaDoc