added converters
added more code to lib