added code and cmd