starting day19, implementing type command