adding try command generator class