recompiled with scala 2.11 (not sure if this makes a difference)