code optimization & allignment