added a wrapper frame