-- fixed bug in initalize