updated the source and style