Adjusted code and pre styling