couldn't this be done automatically in init() ?