oh, how i hate this java thing.