Added setting public field values. Phew! That was hard!