more work on paramter initialization