made sure it was well behaved when returning packages