only opened when needed