making more bootstrappy, adding refresh function