change c tab space.
added java functions