improve initialize for user interface