Tools for generating data for command