added borders, brighten and darken functionality