added gradient overlays and improved x