code and libraries