code as of aug 5