added margin to search