moves java into its own formula