extracted box setup to a function
simplifying some names