Minor fixes
started on random fields

not ready yet