add support of depth