more updates for better codes