added box functions to screen object