destructors issue is addressed