proper handling of containers