Trouble with initialization