code arranged