more work on genotype, tidied up and got dependent fields working. performance ok with non admin user