upgraded to java 7 and added support for multiple collectors