expanded code