Some crazy java things and messy econs