revised initialization (issue #4)