makebox function: make box anywhere