Java serial generator added