Some pretty smelly java