Got setProperty and satProperty working, but found a bug in initialize