stubed all library functions