added picbox() function