initialize correctly