add javadoc
remove label and priority
move parameters to the top