From scratch libraries