Simplify Codes