added parsing of parameter string to __init__