fixed @param directions, omitted additional colons, changed to consistent javadoc style