building command code