minor modification to ensure it initializes properly