Create Box Function

Polished by mradway