unfinished only for debug