parsing depth as cl argument