added prototype library contructors