Added Javadoc for assignment, not sure about last method, please edit