Edited code.