Sort of working; still initialization issues