added bounding-box. corrected some errors..