removed logException, added parentConstructor call