Applying conventions on code