integrate 4 commands to 1