for some library stuff