Codestyling and optimizing