add clear, random, and size commands