stack and library are done