pull out the command code ready for build up.