for modifying lma code