modifiy box API and add to views