facto lib new function getSize added