added style and more code