convert to a library
ignore libraries
small fix