corrected init with settings