pushed instantiation into Java since scala seems to optimize out the (hacky) behaviour we are going for