changed to interface,
updated javadoc